package edu.zju.gis.dbfg.server.service.impl;

import edu.zju.gis.dbfg.common.base.BaseServiceImpl;
import edu.zju.gis.dbfg.server.mapper.PgSourceMapper;
import edu.zju.gis.dbfg.server.model.PgSource;
import edu.zju.gis.dbfg.server.service.PgSourceService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PgSourceServiceImpl extends BaseServiceImpl<PgSourceMapper, PgSource, String> implements PgSourceService {
    @Override
   public  List<PgSource> search(){
        return this.mapper.search();
    }
    @Override
   public  int insert(PgSource pgSource){
        return this.mapper.insert(pgSource);
    }
    @Override
    public PgSource searchById(String id){
        return this.mapper.searchById(id);
    }
    @Override
    public int deleteByPrimaryKey(String id){
        return this.mapper.deleteByPrimaryKey(id);
    }
}
